package com.ruoyi.buildingacidsys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 楼栋核酸任务对象 building_nucleic_acid
 *
 * @author ruoyi
 * @date 2024-07-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(resultMap = "com.ruoyi.buildingacidsys.mapper.BuildingNucleicAcidMapper.BuildingNucleicAcidResult")
public class BuildingNucleicAcid extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** id */
        @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 小区名字 */
            @Excel(name = "小区名字")
    private String communityName;

    /** 小区id */
            @Excel(name = "小区id")
    private Long communitityId;

    /** 任务名 */
            @Excel(name = "任务名")
    private String taskName;

    /** 楼栋id */
            @Excel(name = "楼栋id")
    private Long buildingId;

    /** 楼栋名字 */
            @Excel(name = "楼栋名字")
    private String buildingName;

    /** 0:为已开始 1为已完成 */
            @Excel(name = "0:为已开始 1为已完成")
    private Long status;

    /** 开始时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 检测位置 */
            @Excel(name = "检测位置")
    private String detectionLocation;

    /** 任务人数 */
            @Excel(name = "任务人数")
    private Long taskPeople;

    /** 完成人数 */
            @Excel(name = "完成人数")
    private Long finishPeople;
        }